<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>     

<title>POS收单运营管理平台</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">

<link rel="stylesheet" href="<s:url value="/css/common.css"/>"/>

<script type="text/javascript"
	src="<s:url value="/js/jquery-1.9.1.min.js" />"></script>
<script type="text/javascript"
	src="<s:url value="/js/jquery.validate.min.js" />"></script>
<script type="text/javascript"
	src="<s:url value="/js/pwms.validate.js?v13" />"></script>
<script language="javascript" type="text/javascript"
	src="<s:url value="/js/My97DatePicker/WdatePicker.js"/>"></script>

<script type="text/javascript">
function go(){
	     history.go(-1);
	}
</script>

</head>

<body>
			<s:form   theme="simple"  >
				<table width="100%"  class="tb" >
			        <tr class="tb-line">
			            <td class="tb-td" colspan="6"><div class="tb-h2">POS收单运营管理平台</div></td>
			        </tr>
			
	                <tr class="tb-line bg-gray">
			            <td class="tb-td" colspan="4"><div class="tb-h3">代理商基本信息</div></td>
			        </tr>
					<tr class="tb-line">
			            <td align="right" class="tb-td" style="width:110px;">
			                <div class="tb-h4">所属机构：</div>
			            </td>
			            <td class="tb-td" >
			             	<label class="tb-input-lengthen">
			             		<s:property value="agent.orgCode"/>
			                </label>
			            </td>
			            <td align="right" class="tb-td" style="width:110px;">
			                <div class="tb-h4">代理商类别：</div>
			            </td>
			            <td class="tb-td" >
			             	<label class="tb-input-lengthen">
			             		<s:property value="agent.agentName"/>
			                </label>
			            </td>
					</tr>
					<tr class="tb-line">
			            <td align="right" class="tb-td" style="width:110px;">
			                <div class="tb-h4">甲方名称：</div>
			            </td>
			            <td class="tb-td" >
			             	<label class="tb-input-lengthen">
			             		<s:property value="agent.realName"/>
			                </label>
			            </td>
			            <td align="right" class="tb-td" style="width:110px;">
			                <div class="tb-h4">简称：</div>
			            </td>
			            <td class="tb-td" >
			             	<label class="tb-input-lengthen">
			             		<s:property value="agent.shortName"/> 
			                </label>
			            </td>
					</tr>
					<tr class="tb-line">
			            <td align="right" class="tb-td" style="width:110px;">
			                <div class="tb-h4">登录账号：</div>
			            </td>
			            <td class="tb-td" >
			             	<label class="tb-input-lengthen">
			             		<s:property value="agent.accountNo"/>
			                </label>
			            </td>
			            <td align="right" class="tb-td" style="width:110px;">
			                <div class="tb-h4">手机号：</div>
			            </td>
			            <td class="tb-td" >
			             	<label class="tb-input-lengthen">
			             		<s:property value="agent.mobile"/>
			                </label>
			            </td>
					</tr>
					<tr class="tb-line">
			            <td align="right" class="tb-td" style="width:110px;">
			                <div class="tb-h4">证件类型：</div>
			            </td>
			            <td class="tb-td" >
			             	<label class="tb-input-lengthen">
			             		<s:if test="agent.cardType=='01'">身份证</s:if><s:elseif test="agent.cardType=='02'">护照</s:elseif>
								<s:elseif test="agent.cardType=='03'">军官证</s:elseif><s:elseif test="agent.cardType=='04'">驾照</s:elseif>
								<s:elseif test="agent.cardType=='05'">其他</s:elseif>
			                </label>
			            </td>
			            <td align="right" class="tb-td" style="width:110px;">
			                <div class="tb-h4">证件号码：</div>
			            </td>
			            <td class="tb-td" >
			             	<label class="tb-input-lengthen">
			             		<s:property value="agent.cardNo" />
			                </label>
			            </td>
					</tr>
					<tr class="tb-line">
			            <td align="right" class="tb-td" style="width:110px;">
			                <div class="tb-h4">业务联系人：</div>
			            </td>
			            <td class="tb-td" >
			             	<label class="tb-input-lengthen">
			             		<s:property value="agent.businessPerson" />
			                </label>
			            </td>
			            <td align="right" class="tb-td" style="width:110px;">
			                <div class="tb-h4">业务联系人电话：</div>
			            </td>
			            <td class="tb-td" >
			             	<label class="tb-input-lengthen">
			             		<s:property value="agent.businessPhone" />
			                </label>
			            </td>
					</tr><%-- 
					
					<tr class="tb-line">
			            <td align="right" class="tb-td" style="width:110px;">
			                <div class="tb-h4">营业执照号：</div>
			            </td>
			            <td class="tb-td" >
			             	<label class="tb-input-lengthen">
			             		<s:property value="agent.businessLicences" /> 
			                </label>
			            </td>
			            <td align="right" class="tb-td" style="width:110px;">
			                <div class="tb-h4">税务登记号：</div>
			            </td>
			            <td class="tb-td" >
			             	<label class="tb-input-lengthen">
			             		<s:property value="agent.taxRegistrationCertificate"  /> 
			                </label>
			            </td>
					</tr>
					<tr class="tb-line">
			            <td align="right" class="tb-td" style="width:110px;">
			                <div class="tb-h4">组织机构代码：</div>
			            </td>
			            <td class="tb-td" >
			             	<label class="tb-input-lengthen">
			             		<s:property value="agent.organizationCode" /> 
			             	</label>
			            </td>
			            <td class="tb-td" colspan="1"  >
			             	<label class="tb-input-lengthen">
			             		&nbsp;
			                </label>
			            </td>
					</tr> --%>
					<tr class="tb-line">
			            <td align="right" class="tb-td" style="width:110px;">
			                <div class="tb-h4">开户行：</div>
			            </td>
			            <td class="tb-td" >
			             	<label class="tb-input-lengthen">
			             		<s:property value="agent.bankDeposit"/>
			                </label>
			            </td>
			            <td align="right" class="tb-td" style="width:110px;">
			                <div class="tb-h4">账户名称：</div>
			            </td>
			            <td class="tb-td" >
			             	<label class="tb-input-lengthen">
			             		<s:property value="agent.bankAcctName"  /> 
			                </label>
			            </td>
					</tr>
					<tr class="tb-line">
			            <td align="right" class="tb-td" style="width:110px;">
			                <div class="tb-h4">银行账户：</div>
			            </td>
			            <td class="tb-td" >
			             	<label class="tb-input-lengthen">
			             		<s:property value="agent.bankAcctNo"/> 
			                </label>
			            </td>
			            <td align="right" class="tb-td" style="width:110px;">
			                <div class="tb-h4">业务联系QQ：</div>
			            </td>
			            <td class="tb-td" >
			             	<label class="tb-input-lengthen">
			             		<s:property  value="agent.qq"  /> 
			                </label>
			            </td>
					</tr>
					<tr class="tb-line">
			            <td align="right" class="tb-td" style="width:110px;">
			                <div class="tb-h4">电话号码：</div>
			            </td>
			            <td class="tb-td" >
			             	<label class="tb-input-lengthen">
			             		<s:property  value="agent.telphone"/> 
			                </label>
			            </td>
			            <td align="right" class="tb-td" style="width:110px;">
			                <div class="tb-h4">邮箱地址：</div>
			            </td>
			            <td class="tb-td" >
			             	<label class="tb-input-lengthen">
			             		<s:property value="agent.email"/> 
			                </label>
			            </td>
					</tr>
					<tr class="tb-line">
			            <td align="right" class="tb-td" style="width:110px;">
			                <div class="tb-h4">性别：</div>
			            </td>
			            <td class="tb-td" >
			             	<label class="tb-input-lengthen">
								<s:if test="agent.sex==1">男</s:if>
						        <s:elseif test="agent.sex==0">女</s:elseif><s:else></s:else>
			                </label>
			            </td>
			            <td align="right" class="tb-td" style="width:110px;">
			                <div class="tb-h4">邮政编码：</div>
			            </td>
			            <td class="tb-td" >
			             	<label class="tb-input-lengthen">
			             		<s:property value="agent.zipeCode" /> 
			                </label>
			            </td>
					</tr>
					<tr class="tb-line">
			            <td align="right" class="tb-td" style="width:110px;">
			                <div class="tb-h4">经营范围：</div>
			            </td>
			            <td class="tb-td" colspan="3">
			             	<label class="tb-input-lengthen" >
			             		<s:property value="agent.businessScope"/>
			                </label>
			            </td>
					</tr>
					<tr class="tb-line">
			            <td align="right" class="tb-td" style="width:110px;">
			                <div class="tb-h4">详细地址：</div>
			            </td>
			            <td class="tb-td" colspan="3" >
			             	<label class="tb-input-lengthen">
			             		<s:property value="agent.address"/>
			                </label>
			            </td>
					</tr>
					<tr class="tb-line">
			            <td align="right" class="tb-td" style="width:110px;">
			                <div class="tb-h4">备注：</div>
			            </td>
			            <td class="tb-td" colspan="3" >
			             	<label class="tb-input-lengthen">
			             		<s:property value="agent.remark" />
			                </label>
			            </td>
					</tr>
	                <tr class="tb-line bg-gray">
			            <td  align="center" class="tb-td"  colspan="4"><div class="tb-h3">代理商拓展范围</div></td>
					</tr>
					<tr class="tb-line">
						<td colspan="4">
							<table class="tb-td" width="100%" style="padding:0;">
								<tr class="tb-line">
									<td class="tb-td"  >
				                        <div class="tb-h4">成本扣率</div>
				                    </td>
									<td class="tb-td"  >
				                        <div class="tb-h4">借记卡成本扣率</div>
				                    </td>
									<td class="tb-td"  >
				                        <div class="tb-h4">贷记卡成本扣率</div>
				                    </td>
									<td class="tb-td"  >
				                        <div class="tb-h4">借记卡封顶成本金额</div>
				                    </td>
									<td class="tb-td"  >
				                        <div class="tb-h4">贷记卡最低签扣</div>
				                    </td>
								</tr>
								<s:iterator value="agent.proList" id="profit" status="stat">
									<tr class="tb-line">
									<td class="tb-td" ><s:property value="#profit.mccTypeName"/></td>
									<td class="tb-td" ><s:property value="#profit.profitFee"/>%</td>
									<td class="tb-td" ><s:property value="#profit.profitSettleRate"/>%</td>
									<td class="tb-td" ><s:property value="#profit.maxFee"/></td>
									<td class="tb-td" ><s:property value="#profit.merchantMinFee"/>%</td>	
									</tr>
								</s:iterator>
							</table>
						</td>
					</tr>
				<s:if test="agent.profitPerList.size() > 0">
	                <tr class="tb-line bg-gray">
			            <td  align="center" class="tb-td"  colspan="4"><div class="tb-h3">代理商分润比例</div></td>
			        </tr>
					<tr class="tb-line">
						<td colspan="4">
							<table  width="100%">
								<tr class="tb-line">
									<td class="tb-td"  >
				                        <div class="tb-h4">区间最小金额</div>
				                    </td>
									<td class="tb-td"  >
				                        <div class="tb-h4">区间最大金额</div>
				                    </td>
									<td class="tb-td"  >
				                        <div class="tb-h4">代理商分润比例</div>
				                    </td>
								
								</tr>
								<s:iterator value="agent.profitPerList" var="agent2" status="stat2">
									<tr class="tb-line">
										<td class="tb-td" ><s:property value="#agent2.limit_amt"/>元</td>
										<td class="tb-td" ><s:property value="#agent2.max_amt"/>元</td>
										<td class="tb-td" ><s:property value="#agent2.percent"/>%</td>
									</tr>
								</s:iterator>
							</table>
						</td>
					</tr>
				</s:if>
					
					<tr class="tb-line">
						<td colspan="4" align="center"><span style="color: red"><s:actionerror /></span>
							<span style="color: red;"><s:actionmessage /></span > <span style="color: red;"><s:fielderror
									cssClass="fieldError" /></span>
							<span id="otherError"></span>
						</td>
					</tr>
					<tr class="tb-line">
			            <td class="tb-td line-submit" align="center" colspan="4">
			                <label class="tb-input-submit">
					        	<input type="button" value="返   回" onclick="go()">
					        </label>
						</td>
					</tr>
					
				</table>

			</s:form>
	<!-- 	</div>
	 -->
</body>
</html>
